package com.vogue.supplymall.entmanagement.domain.dao;

import com.vogue.supplymall.entmanagement.domain.model.LicenceApply;
import com.vogue.supplymall.common.domain.dto.LicenceShopSearchInfo;

import java.util.List;
import java.util.Map;

/**
 * The interface Licence apply dao.
 */
public interface LicenceApplyDao extends BaseDao<LicenceApply, Long>{

	/**
	 * Find shop list list.
	 *
	 * @param licenceShopSearchInfo the licence shop search info
	 * @return the list
	 */
	List<Map<String, Object>> findShopList(LicenceShopSearchInfo licenceShopSearchInfo);

	/**
	 * Find warning list.
	 *
	 * @param licenceShopSearchInfo the licence shop search info
	 * @return the list
	 */
	List<Map<String, Object>> findWarning(LicenceShopSearchInfo licenceShopSearchInfo);

	/**
	 * 根据syscodeId找到证照上传申请审核记录表的信息
	 *
	 * @param syscodeId the syscode id
	 * @return the list
	 */
	public List<LicenceApply> findLABySyscodeid(Long syscodeId);

	/**
	 * 查找店铺的开通申请记录以及续约记录
	 *
	 * @param shopid 店铺id
	 * @param syscodid 系统编号id
	 * @param matchid 对接业务系统中店铺id
	 * @return list
	 */
	public List<Map<String, Object>> findShopApply(Long shopid, Long syscodid, String matchid);
}
